package com.aliware.edas;

import com.alibaba.boot.hsf.annotation.HSFConsumer;
import com.aliyun.api.AsyncEchoService;
import com.aliyun.api.EchoService;
import com.aliyun.api.FlightDelay;
import org.springframework.context.annotation.Configuration;


@Configuration
public class HsfConfig {

    @HSFConsumer(clientTimeout = 3000, serviceVersion = "1.1.0")
    private EchoService echoService;


    @HSFConsumer(clientTimeout = 3000, serviceVersion = "1.1.0", futureMethods = "future")
    private AsyncEchoService asyncEchoService;


    @HSFConsumer(clientTimeout = 3000, serviceVersion = "1.1.0")
    private FlightDelay flightDelay;
}
